package vip.mtdp.asset.api.constants;

/**
 * @Description
 * @Author Evans.wang
 * @since 2023/10/29 17:41
 **/
public enum TxnStateEnum {
    //1=初始化，2=成功，3=处理中，4=失败，6=冲正
    INIT(1, "init"),
    SUCCESS(2, "success"),
    PROCESSING(3, "processing"),
    FAIL(4, "processing"),
    REVERSE(6, "reverse")
    ;

    private Integer code;

    private String label;

    private TxnStateEnum(Integer code, String label){
        this.code = code;
        this.label = label;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }
}
